summary
{base}
Obtain summary statistics or detailed regression output
ifelse
{base}
Return a or b depending on the value of test
ggplot
{GGPLOT2}
Create a ggplot graph
setwd
{base}
Set Working Directory
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
library
{base}
Load an R package
as.numeric
{base}
Coerce a vector to numeric
c
{base}
Combine values/vectors into a vector
as.character
{base}
Coerce a vector to character
geom_point
{GGPLOT2}
Generates a scatter plot
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
read_dta
{haven}
Read a .dta file (Stata data)
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
lm
{base}
Fit a linear model
The end!